Tootsville-User::Census

Function

Census names a function, with lambda list (&REST WORDS):

Load a number of users.

Simply reference a range of users, for testing purposes. Takes an optional low and high point, or runs 0…250000. (250,000) This will load their Toots, and seriously strain the caché and database subsystems.

Afterwards, due to cache flooding, database accesses may be slower than usual until things balance out to a more normal workload.

Since this is designed to stress the servers, it can be called only by God (Pil).

Usage

#census
#census [START]
#census [START] [COUNT]

Examples

#census

Stress-load the first 250,000 Toots

#census 20000

Stress-load 250,000 Toots starting with offset 20,000.

#census 1000 100

Stress-load 100 Toots starting with offset 1,000.

File

Defined in file src/infinity/legacy-ops.lisp.